.file-input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    cursor: pointer;
}

.file-drop {
    width: 100%;
    height: 100%;
    position: absolute;
    text-align: center;
    color: #BDBDBD;
}

.file-drop > span {
    line-height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-decoration: inherit;
}

.file-select {
    box-sizing: border-box;
    border: 5px dotted #EEE;
    background: url("../img/upload-ic.png") no-repeat center #FAFAFA;
    background-size: auto 50px;
}

.total-progress-box {
    height: 5px;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    position: absolute;
    bottom: 0;
    z-index: 9;
}

.total-progress {
    height: 100%;
    width: 0%;
    background: #DD2A87;
}

.file-wrapper {
    width: 300px;
    height: 150px;
    display: inline-block;
    position: relative;
}

.file-wrapper:after {
    content: "";
    width: 90px;
    height: 90px;
    display: block;
    position: absolute;
    top: 20px;
    left: 95px;
    z-index: 0;
    border: 5px dotted #EEE;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: rotate 2000ms infinite linear;
    -webkit-transition: opacity 300ms linear;
}

.file-wrapper.waiting:after {
    opacity: 1;
}

.file-name-limit {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: top;
    color: #A2EED8;
}

.file-btn-remove {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: url("../img/cross-ic.png") no-repeat center #DD2A87;
    background-size: 20px;
    bottom: -20px;
    right: 130px;
    z-index: 10;
    cursor: pointer;
}

.file-thumb {
    height: 100%;
    font-size: 0;
    overflow: hidden;
    text-align: center;
    line-height: 150px;
    background: #505050;
}

.file-thumb canvas {
    margin: 0px auto;
    display: inline-block;
    vertical-align: middle;
}

.file-select, .file-preview {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.file-label {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    color: #FFF;
    text-shadow: 0px 1px 1px #000;
    text-indent: 10px;
}

.file-select:after {
}

.file-select:hover:after {
    opacity: 1;
    text-decoration: underline;
}

.file-select:hover .file-drop {
    text-decoration: underline;
}